package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 软件表
 * </p>
 *
 * @author zds
 * @since 2021-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ProSoftware对象", description = "软件表")
public class ProSoftware implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "应用程序名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "APPID")
    @TableField("app_id")
    private String appId;

    @ApiModelProperty(value = "版本号")
    @TableField("version")
    private String version;

    @ApiModelProperty(value = "路径")
    @TableField("root_dir")
    private String rootDir;

    @TableField(exist = false)
    private List<ProSoftFile> files;

    @ApiModelProperty(value = "是否已删除，默认0，0未删除，1已删除")
    @TableField("is_deleted")
    private Integer isDeleted;


}
